<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>common_util: src/common_util/filepath.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">common_util<span id="projectnumber">&#160;1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2961cad218251a7c35c6867350b80887.html">common_util</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">filepath.h</div></div>
</div><!--header-->
<div class="contents">
<a href="filepath_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#include &lt;cstdio&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#include &quot;<a class="code" href="filetype_8h.html">filetype.h</a>&quot;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="keyword">namespace </span>cutl</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>{</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html">   33</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a90b99a927a5f190972db9faae4ce10f3">   41</a></span>        <a class="code hl_function" href="classcutl_1_1filepath.html#a90b99a927a5f190972db9faae4ce10f3">filepath</a>(<span class="keyword">const</span> std::string &amp;path);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a9d659c26e38a0d200b5023ebcfd6ae55">   48</a></span>        <a class="code hl_function" href="classcutl_1_1filepath.html#a9d659c26e38a0d200b5023ebcfd6ae55">filepath</a>(<span class="keyword">const</span> <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> &amp;other);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a067ef2d4e58b5746c375d16eccad55af">   56</a></span>        <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> &amp;<a class="code hl_function" href="classcutl_1_1filepath.html#a067ef2d4e58b5746c375d16eccad55af">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> &amp;other);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#aeaa1aaaec455559bf505ed3f36958576">   62</a></span>        <a class="code hl_function" href="classcutl_1_1filepath.html#aeaa1aaaec455559bf505ed3f36958576">~filepath</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a4a6d26c1f843ac1d55ea6b5279e04949">   70</a></span>        <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code hl_function" href="classcutl_1_1filepath.html#a4a6d26c1f843ac1d55ea6b5279e04949">separator</a>();</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a6fb5387be3f6238b2934fd013197b841">   77</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#a6fb5387be3f6238b2934fd013197b841">str</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a80c42c1066444e1f855ec99441e13f2c">   85</a></span>        <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> <a class="code hl_function" href="classcutl_1_1filepath.html#a80c42c1066444e1f855ec99441e13f2c">join</a>(<span class="keyword">const</span> std::string &amp;filename) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>        <span class="comment">// file is exist or not</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a35860a2df77cda9186771e9eb7652fa9">   93</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#a35860a2df77cda9186771e9eb7652fa9">exists</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#adb5bd1e2ba786706f01ba33e98b7e7b9">  100</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#adb5bd1e2ba786706f01ba33e98b7e7b9">readable</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#accb293de49246e4147d4bf4ef87c4bfb">  107</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#accb293de49246e4147d4bf4ef87c4bfb">writable</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#aae9d22857d0e15b9ed3c3822fd2784bd">  114</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#aae9d22857d0e15b9ed3c3822fd2784bd">executable</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#aab0dce6ab5cec2ab5371262ba39c6d5c">  121</a></span>        <a class="code hl_enumeration" href="filetype_8h.html#a9d3ee53b2774c37cc5a17766507de28c">filetype</a> <a class="code hl_function" href="classcutl_1_1filepath.html#aab0dce6ab5cec2ab5371262ba39c6d5c">type</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#adb0e1f3b2964206e602c0f2f0cd20e94">  128</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#adb0e1f3b2964206e602c0f2f0cd20e94">isfile</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a09672e7f8717dfbf9fc2cc8766b34fd5">  135</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#a09672e7f8717dfbf9fc2cc8766b34fd5">isdir</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a359f2ae46d93e263517c173c36900830">  142</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classcutl_1_1filepath.html#a359f2ae46d93e263517c173c36900830">issymlink</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#aa33e29aa8d9710b91bad420493f18601">  149</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#aa33e29aa8d9710b91bad420493f18601">dirname</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#aae6e9da74d378b70d42274d95d0f3d12">  156</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#aae6e9da74d378b70d42274d95d0f3d12">basename</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a248fee180c2e60045067d9b88408d43b">  164</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#a248fee180c2e60045067d9b88408d43b">realpath</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a0866810ee3ee44d2dd1e37ed711f119d">  170</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#a0866810ee3ee44d2dd1e37ed711f119d">abspath</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="classcutl_1_1filepath.html#a2188c2296ac0d3dae44cc5241ddaf801">  176</a></span>        std::string <a class="code hl_function" href="classcutl_1_1filepath.html#a2188c2296ac0d3dae44cc5241ddaf801">extension</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span> </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        std::string filepath_;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>    };</div>
</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="filepath_8h.html#aea582cd0e28ae859ea712d730418143a">  189</a></span>    std::ostream &amp;<a class="code hl_function" href="datetime_8h.html#ade576064506faebb5f0ce249d023b4c4">operator&lt;&lt;</a>(std::ostream &amp;os, <span class="keyword">const</span> <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> &amp;fp);</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="filepath_8h.html#abb5a2e2fa6cfd41e8de3515d12a36eb6">  197</a></span>    <a class="code hl_class" href="classcutl_1_1filepath.html">filepath</a> <a class="code hl_function" href="filepath_8h.html#abb5a2e2fa6cfd41e8de3515d12a36eb6">path</a>(<span class="keyword">const</span> std::string &amp;path);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span> </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>} <span class="comment">// namespace cutl</span></div>
<div class="ttc" id="aclasscutl_1_1filepath_html"><div class="ttname"><a href="classcutl_1_1filepath.html">cutl::filepath</a></div><div class="ttdoc">The class for file path operations.</div><div class="ttdef"><b>Definition</b> filepath.h:34</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a067ef2d4e58b5746c375d16eccad55af"><div class="ttname"><a href="classcutl_1_1filepath.html#a067ef2d4e58b5746c375d16eccad55af">cutl::filepath::operator=</a></div><div class="ttdeci">filepath &amp; operator=(const filepath &amp;other)</div><div class="ttdoc">Assign operator, assign a new filepath object by copy.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a0866810ee3ee44d2dd1e37ed711f119d"><div class="ttname"><a href="classcutl_1_1filepath.html#a0866810ee3ee44d2dd1e37ed711f119d">cutl::filepath::abspath</a></div><div class="ttdeci">std::string abspath() const</div><div class="ttdoc">Get the absolute path of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a09672e7f8717dfbf9fc2cc8766b34fd5"><div class="ttname"><a href="classcutl_1_1filepath.html#a09672e7f8717dfbf9fc2cc8766b34fd5">cutl::filepath::isdir</a></div><div class="ttdeci">bool isdir() const</div><div class="ttdoc">Check if the filepath is a directory.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a2188c2296ac0d3dae44cc5241ddaf801"><div class="ttname"><a href="classcutl_1_1filepath.html#a2188c2296ac0d3dae44cc5241ddaf801">cutl::filepath::extension</a></div><div class="ttdeci">std::string extension() const</div><div class="ttdoc">Get the extension of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a248fee180c2e60045067d9b88408d43b"><div class="ttname"><a href="classcutl_1_1filepath.html#a248fee180c2e60045067d9b88408d43b">cutl::filepath::realpath</a></div><div class="ttdeci">std::string realpath() const</div><div class="ttdoc">Get the real path referenced by symbolic link.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a35860a2df77cda9186771e9eb7652fa9"><div class="ttname"><a href="classcutl_1_1filepath.html#a35860a2df77cda9186771e9eb7652fa9">cutl::filepath::exists</a></div><div class="ttdeci">bool exists() const</div><div class="ttdoc">Check if the filepath is exists.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a359f2ae46d93e263517c173c36900830"><div class="ttname"><a href="classcutl_1_1filepath.html#a359f2ae46d93e263517c173c36900830">cutl::filepath::issymlink</a></div><div class="ttdeci">bool issymlink() const</div><div class="ttdoc">Check if the filepath is a symbolic link.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a4a6d26c1f843ac1d55ea6b5279e04949"><div class="ttname"><a href="classcutl_1_1filepath.html#a4a6d26c1f843ac1d55ea6b5279e04949">cutl::filepath::separator</a></div><div class="ttdeci">static char separator()</div><div class="ttdoc">Get the path separator of the current os platform.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a6fb5387be3f6238b2934fd013197b841"><div class="ttname"><a href="classcutl_1_1filepath.html#a6fb5387be3f6238b2934fd013197b841">cutl::filepath::str</a></div><div class="ttdeci">std::string str() const</div><div class="ttdoc">Get the string of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a80c42c1066444e1f855ec99441e13f2c"><div class="ttname"><a href="classcutl_1_1filepath.html#a80c42c1066444e1f855ec99441e13f2c">cutl::filepath::join</a></div><div class="ttdeci">filepath join(const std::string &amp;filename) const</div><div class="ttdoc">Join the current filepath with a new filename.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a90b99a927a5f190972db9faae4ce10f3"><div class="ttname"><a href="classcutl_1_1filepath.html#a90b99a927a5f190972db9faae4ce10f3">cutl::filepath::filepath</a></div><div class="ttdeci">filepath(const std::string &amp;path)</div><div class="ttdoc">Construct a new filepath object.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_a9d659c26e38a0d200b5023ebcfd6ae55"><div class="ttname"><a href="classcutl_1_1filepath.html#a9d659c26e38a0d200b5023ebcfd6ae55">cutl::filepath::filepath</a></div><div class="ttdeci">filepath(const filepath &amp;other)</div><div class="ttdoc">Construct a new filepath object by copy.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_aa33e29aa8d9710b91bad420493f18601"><div class="ttname"><a href="classcutl_1_1filepath.html#aa33e29aa8d9710b91bad420493f18601">cutl::filepath::dirname</a></div><div class="ttdeci">std::string dirname() const</div><div class="ttdoc">Get the parent directory of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_aab0dce6ab5cec2ab5371262ba39c6d5c"><div class="ttname"><a href="classcutl_1_1filepath.html#aab0dce6ab5cec2ab5371262ba39c6d5c">cutl::filepath::type</a></div><div class="ttdeci">filetype type() const</div><div class="ttdoc">Get the file type of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_aae6e9da74d378b70d42274d95d0f3d12"><div class="ttname"><a href="classcutl_1_1filepath.html#aae6e9da74d378b70d42274d95d0f3d12">cutl::filepath::basename</a></div><div class="ttdeci">std::string basename() const</div><div class="ttdoc">Get the filename or directory name of the filepath.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_aae9d22857d0e15b9ed3c3822fd2784bd"><div class="ttname"><a href="classcutl_1_1filepath.html#aae9d22857d0e15b9ed3c3822fd2784bd">cutl::filepath::executable</a></div><div class="ttdeci">bool executable() const</div><div class="ttdoc">Check if the filepath is executable.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_accb293de49246e4147d4bf4ef87c4bfb"><div class="ttname"><a href="classcutl_1_1filepath.html#accb293de49246e4147d4bf4ef87c4bfb">cutl::filepath::writable</a></div><div class="ttdeci">bool writable() const</div><div class="ttdoc">Check if the filepath is writable.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_adb0e1f3b2964206e602c0f2f0cd20e94"><div class="ttname"><a href="classcutl_1_1filepath.html#adb0e1f3b2964206e602c0f2f0cd20e94">cutl::filepath::isfile</a></div><div class="ttdeci">bool isfile() const</div><div class="ttdoc">Check if the filepath is a regular file.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_adb5bd1e2ba786706f01ba33e98b7e7b9"><div class="ttname"><a href="classcutl_1_1filepath.html#adb5bd1e2ba786706f01ba33e98b7e7b9">cutl::filepath::readable</a></div><div class="ttdeci">bool readable() const</div><div class="ttdoc">Check if the filepath is readable.</div></div>
<div class="ttc" id="aclasscutl_1_1filepath_html_aeaa1aaaec455559bf505ed3f36958576"><div class="ttname"><a href="classcutl_1_1filepath.html#aeaa1aaaec455559bf505ed3f36958576">cutl::filepath::~filepath</a></div><div class="ttdeci">~filepath()=default</div><div class="ttdoc">Destroy the filepath object.</div></div>
<div class="ttc" id="adatetime_8h_html_ade576064506faebb5f0ce249d023b4c4"><div class="ttname"><a href="datetime_8h.html#ade576064506faebb5f0ce249d023b4c4">cutl::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const datetime &amp;dt)</div><div class="ttdoc">Define the output stream operator for datetime object.</div></div>
<div class="ttc" id="afilepath_8h_html_abb5a2e2fa6cfd41e8de3515d12a36eb6"><div class="ttname"><a href="filepath_8h.html#abb5a2e2fa6cfd41e8de3515d12a36eb6">cutl::path</a></div><div class="ttdeci">filepath path(const std::string &amp;path)</div><div class="ttdoc">Create a filepath object from a string.</div></div>
<div class="ttc" id="afiletype_8h_html"><div class="ttname"><a href="filetype_8h.html">filetype.h</a></div><div class="ttdoc">Define the structs about fileutil, such as filetype and file_entity.</div></div>
<div class="ttc" id="afiletype_8h_html_a9d3ee53b2774c37cc5a17766507de28c"><div class="ttname"><a href="filetype_8h.html#a9d3ee53b2774c37cc5a17766507de28c">cutl::filetype</a></div><div class="ttdeci">filetype</div><div class="ttdoc">The type of file.</div><div class="ttdef"><b>Definition</b> filetype.h:38</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
